package com.amigo.online.provider.manager.model.entity;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.provider.manager.util.param.dto.PageDto;

@Table(name = "user_tbl")
@Alias(value = "user")
public class User extends PageDto {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    /**
     * 帐号
     */
    @Column(name = "account")
    private String account;

    /**
     * 是否是默认帐号
     */
    @Column(name = "account_default")
    private Integer accountDefault;

    /**
     * 昵称
     */
    @Column(name = "nickname")
    private String nickname;

    /**
     * 性别
     */
    @Column(name = "sex")
    private String sex;

    /**
     * 邮箱
     */
    @Column(name = "email")
    private String email;

    /**
     * 手机号
     */
    @Column(name = "mobilephone")
    private String mobilephone;

    /**
     * facebook open id
     */
    @Column(name = "facebook_open_id")
    private String facebookOpenId;

    /**
     * 密码
     */
    @Column(name = "password")
    private String password;

    /**
     * 密码hash
     */
    @Column(name = "password_hash")
    private String passwordHash;

    /**
     * 是否是默认密码
     */
    @Column(name = "password_default")
    private Integer passwordDefault;

    /**
     * 国家
     */
    @Column(name = "country")
    private Integer country;

    /**
     * 省份
     */
    @Column(name = "province")
    private Integer province;

    /**
     * 城市
     */
    @Column(name = "city")
    private Integer city;

    /**
     * 国家号码
     */
    @Column(name = "country_code")
    private String countryCode;

    /**
     * 公司
     */
    @Column(name = "company")
    private String company;

    /**
     * 工作
     */
    @Column(name = "job")
    private String job;

    /**
     * 学校
     */
    @Column(name = "school")
    private String school;

    /**
     * 生日
     */
    @Column(name = "birthday")
    private Long birthday;

    /**
     * 情感状态
     */
    @Column(name = "love")
    private Integer love;

    /**
     * 个性签名
     */
    @Column(name = "sign")
    private String sign;

    /**
     * vip
     */
    @Column(name = "vip")
    private Integer vip;

    /**
     * 用户类型：0为客服人员，1为普通用户  2店长
     */
    @Column(name = "type")
    private Integer type;

    /**
     * 故乡国家
     */
    @Column(name = "home_country")
    private Integer homeCountry;

    /**
     * 故乡省份
     */
    @Column(name = "home_province")
    private Integer homeProvince;

    /**
     * 故乡城市
     */
    @Column(name = "home_city")
    private Integer homeCity;

    /**
     * 实名认证
     */
    @Column(name = "verified")
    private Integer verified;

    /**
     * 状态
     */
    @Column(name = "status")
    private Integer status;


    /**
     * 更新时间
     */
    @Column(name = "updated_time")
    private Long updatedTime;

    /**
     * 实名认证时间
     */
    @Column(name = "verified_time")
    private Long verifiedTime;

    /**
     * 头像
     */
    @Column(name = "avatar")
    private String avatar;

    /**
     * 背景
     */
    @Column(name = "background")
    private String background;

    /**
     * 名人
     */
    @Column(name = "celebrity")
    private Integer celebrity;

    /**
     * token
     */
    @Column(name = "token")
    private String token;


    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Integer getAccountDefault() {
        return accountDefault;
    }

    public void setAccountDefault(Integer accountDefault) {
        this.accountDefault = accountDefault;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobilephone() {
        return mobilephone;
    }

    public void setMobilephone(String mobilephone) {
        this.mobilephone = mobilephone;
    }

    public String getFacebookOpenId() {
        return facebookOpenId;
    }

    public void setFacebookOpenId(String facebookOpenId) {
        this.facebookOpenId = facebookOpenId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPasswordHash() {
        return passwordHash;
    }

    public void setPasswordHash(String passwordHash) {
        this.passwordHash = passwordHash;
    }

    public Integer getPasswordDefault() {
        return passwordDefault;
    }

    public void setPasswordDefault(Integer passwordDefault) {
        this.passwordDefault = passwordDefault;
    }

    public Integer getCountry() {
        return country;
    }

    public void setCountry(Integer country) {
        this.country = country;
    }

    public Integer getProvince() {
        return province;
    }

    public void setProvince(Integer province) {
        this.province = province;
    }

    public Integer getCity() {
        return city;
    }

    public void setCity(Integer city) {
        this.city = city;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public Long getBirthday() {
        return birthday;
    }

    public void setBirthday(Long birthday) {
        this.birthday = birthday;
    }

    public Integer getLove() {
        return love;
    }

    public void setLove(Integer love) {
        this.love = love;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public Integer getVip() {
        return vip;
    }

    public void setVip(Integer vip) {
        this.vip = vip;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getHomeCountry() {
        return homeCountry;
    }

    public void setHomeCountry(Integer homeCountry) {
        this.homeCountry = homeCountry;
    }

    public Integer getHomeProvince() {
        return homeProvince;
    }

    public void setHomeProvince(Integer homeProvince) {
        this.homeProvince = homeProvince;
    }

    public Integer getHomeCity() {
        return homeCity;
    }

    public void setHomeCity(Integer homeCity) {
        this.homeCity = homeCity;
    }

    public Integer getVerified() {
        return verified;
    }

    public void setVerified(Integer verified) {
        this.verified = verified;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Long updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Long getVerifiedTime() {
        return verifiedTime;
    }

    public void setVerifiedTime(Long verifiedTime) {
        this.verifiedTime = verifiedTime;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getBackground() {
        return background;
    }

    public void setBackground(String background) {
        this.background = background;
    }

    public Integer getCelebrity() {
        return celebrity;
    }

    public void setCelebrity(Integer celebrity) {
        this.celebrity = celebrity;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

}
